←Select platform

SetStringValue(DicomElement,string[],DicomCharacterSetType) Method

Summary

Sets the string value(s) of a Data Element.

Syntax

C#
VB
Java
WinRT C#
C++
public bool SetStringValue( 
   DicomElement element, 
   string[] value, 
   DicomCharacterSetType characterSet 
) 
Public Overloads Function SetStringValue( _ 
   ByVal element As Leadtools.Dicom.DicomElement, _ 
   ByVal value() As String, _ 
   ByVal characterSet As Leadtools.Dicom.DicomCharacterSetType _ 
) As Boolean 
public boolean setStringValues(DicomElement element, String[] value) 
 function Leadtools.Dicom.DicomDataSet.SetStringValue(DicomElement,String[],DicomCharacterSetType)(  
   element , 
   value , 
   characterSet  
) 
public: 
bool SetStringValue(  
   Leadtools.Dicom.DicomElement^ element, 
   array<String^>^ value, 
   Leadtools.Dicom.DicomCharacterSetType characterSet 
)  

Parameters

element
An item in the Data Set.

value
Character string that contains the string value(s) to set. If you want to set multiple values in the Value Field, put all string values in this array.

characterSet
Character set to use when inserting the input string.

Return Value

true if the string value(s) were set successfully. false if could not set the string value(s) of the Data Element.

Remarks

If more than one value is stored in the Value Field of the Data Element, you must set all values at the same time. This method can be called only if the Value Representation of the Data Element is:

For more information about Value Representations, refer to Default Value Representation Table.

Example

For an example, refer to SetStringValue

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly